// 连接数据库配置
const mysql = require('mysql')
const pool = mysql.createPool({
    host: 'rm-2vc7d96gu3869128c9o.mysql.cn-chengdu.rds.aliyuncs.com',
    port: '3306',
    user: 'paidabai',
    password: 'YANGYAOjay930011',
    database: 'hostel',
    connectionLimit: 30,
    multipleStatements: true
})

module.exports = pool